package com.quan.demo.entity;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author YC
 * @Description:
 * @date 2021/3/15 9:01
 */
@Data
@Table(name = "student")
public class Student {

    /**
     * 主键
     */
    @Id
    private Integer id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 密码
     */
    private String pass;
    /**
     * 性别
     */
    private String sex;

}
